package com.cskaoyan.bean.po;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/5 15:33
 */
@Data
public class TopicCreatePo {
    // 在 Po 对象(sql)里, goods 是String 类型; 需要借助于 typeHandler;
    private String goods;
    private String title;
    private String subtitle;
    private String picUrl;
    private String content;
    private Integer price;
    private String readCount;
    private Integer  id;
    private Integer sortOrder;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private  Date updateTime;
    private Boolean deleted;

}
